﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.ServiceModel.Web;
using System.Text;
using WSBanking.DTO;
namespace WSBanking
{
	/// <summary>
	/// The inteface is used to interact with database
	/// </summary>
	[ServiceContract]
	public interface IServiceBanking
	{
        [OperationContract]
        SEBanking_AccountDTO CheckAccount(string UserID, string Password);

        [OperationContract]
        bool CheckCardID(string idCard);

        [OperationContract]
        decimal GetBalance(string idCard);

        [OperationContract]
        int ExChangeVND(string idCardSource, string SecurityCode, string idCardTarget, decimal money);
	}
}
